import java.io.*;

public class Demo1 {
    public static void main(String[] args) throws IOException, ClassNotFoundException {
        ObjectInputStream ois=new ObjectInputStream(new FileInputStream("D:\\poem4.txt"));
        Object o = ois.readObject();
        System.out.println(o);

    }
}
